package com.mew.slots.core.game.jdqe.message;

import com.mew.slots.core.common.messge.response.SlotsBonusPlayResponseMessage;
import io.netty.buffer.ByteBuf;
import lombok.Data;
import lombok.ToString;

/**
 * @author dylin
 */
@Data
@ToString(callSuper = true)
public class JdqeBonusPlayResponseMessage extends SlotsBonusPlayResponseMessage {
    private int bonusNum; //特殊次数
    private int icon; //图标
    private int[] brs = new int[4];//特殊倍数触发
    private long allWin;//赢
    private int isGameOver;//游戏是否结束

    @Override
    public void write(ByteBuf b) {
        super.write(b);
        writeInt(b,bonusNum);
        writeInt(b,icon);
        writeIntArray(b,brs);
        writeLong(b,allWin);
        writeInt(b,isGameOver);
    }

    @Override
    public JdqeBonusPlayResponseMessage read(ByteBuf byteBuf) {
        return null;
    }
}
